package com.tedu.openmedical.brregister.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病案借阅登记表
 * </p>
 *
 * @author testjava
 * @since 2024-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BrRegister对象", description="病案借阅登记表")
public class BrRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登记id")
    @TableId(value = "br_id", type = IdType.ID_WORKER_STR)
    private String brId;

    @ApiModelProperty(value = "全局流水跟踪号")
    private String brGlobalSerial;

    @ApiModelProperty(value = "患者信息ID")
    private String brPatientId;

    @ApiModelProperty(value = "借阅人")
    private String brBorrowerName;

    @ApiModelProperty(value = "借阅原因")
    private String brReason;

    @ApiModelProperty(value = "借阅日期")
    private Date brEstimateBorrower;

    @ApiModelProperty(value = "归还日期")
    private Date brEstimateRestitution;

    @ApiModelProperty(value = "借阅病案状态 0-待审核  1-已审核 ")

    private Integer brMedicalRecordStatus;

    @ApiModelProperty(value = "登记时间")
    private Date brEnroll;

    @ApiModelProperty(value = "操作员")
    private String brOperator;
    @ApiModelProperty(value = "驳回理由")
    private String brRejectReason;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmsCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmsModified;


}
